package py.com.fms.fms.bean;

import java.util.*;
import java.io.Serializable;

public class PersonManagerBean implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3583077059609410915L;
	private PersonBean person;
	private List<PersonAddressBean> personAddrCollection;
	private List<PersonDocumentBean> personDocumentColletion;
	private List<PersonPhoneBean> personPhoneCollection;
	
	//Getters and Setters
	
	public PersonBean getPerson() {
		if (this.person == null)
			this.person = new PersonBean();
		return person;
	}
	public void setPerson(PersonBean person) {
		this.person = person;
	}
	
	public List<PersonAddressBean> getPersonAddrCollection() {
		if (this.personAddrCollection == null)
			this.personAddrCollection = new ArrayList<PersonAddressBean>();
		return personAddrCollection;
	}
	public void setPersonAddrCollection(List<PersonAddressBean> personAddrCollection) {
		this.personAddrCollection = personAddrCollection;
	}
	public List<PersonDocumentBean> getPersonDocumentColletion() {
		if (this.personDocumentColletion == null)
			this.personDocumentColletion = new ArrayList<PersonDocumentBean>();
		return personDocumentColletion;
	}
	public void setPersonDocumentColletion(
			List<PersonDocumentBean> personDocumentColletion) {
		this.personDocumentColletion = personDocumentColletion;
	}
	public List<PersonPhoneBean> getPersonPhoneCollection() {
		if (this.personPhoneCollection == null)
			this.personPhoneCollection = new ArrayList<PersonPhoneBean>();
		return personPhoneCollection;
	}
	public void setPersonPhoneCollection(
			List<PersonPhoneBean> personPhoneCollection) {
		this.personPhoneCollection = personPhoneCollection;
	}

}
